<?php
/**
 * (model) review库存
 */

namespace App\Models\Inventory;

use App\Models\Basics\SysArea;
use App\Models\Product\ProductSku;
use Illuminate\Database\Eloquent\Model;

class InventoryReview extends Model
{
    protected $table = 'inventory_review';

    protected $guarded = [];

    public $timestamps = false;

    public function sku(){
        return $this->belongsTo(ProductSku::class, 'psku_id');
    }

    public function area(){
        return $this->belongsTo(SysArea::class, 'area_id');
    }

}
